package com.dzwww.recommend.rule.common.bo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 分页查询-基类
 *
 * @author <a href="mailto:yjx147503@shuwen.com">叶嘉翔</a>
 * @version 1.0
 * @since 2019-03-27 14:57
 */
@Data
@Accessors(chain = true)
public class PageResult<T> implements Serializable {

    private long current;

    private long size = 0;

    private long total = 0;

    private String[] ascs;

    private String[] descs;

    private List<T> records;
}
